﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace c_Windows
{
    public partial class MessageDialog : Form
    {
        public HomeBegin home;
        public MessageDialog(HomeBegin homes)
        {
            InitializeComponent();
            homes = home;
        }

        private void MessageDialog_Load(object sender, EventArgs e)
        {
            Console.Write("Data");
        }

        private void button1_Click(object sender, EventArgs e)
        {
            MessageBox.Show("MessageBox", "\0", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
        }

        private void button2_Click(object sender, EventArgs e)
        {
            MessageBox.Show("MessageBox", "\0", MessageBoxButtons.OK, MessageBoxIcon.Question);
        }

        private void button3_Click(object sender, EventArgs e)
        {
            MessageBox.Show("MessageBox", "\0", MessageBoxButtons.OK, MessageBoxIcon.Warning);
        }

        private void button4_Click(object sender, EventArgs e)
        {
            MessageBox.Show("MessageBox", "\0", MessageBoxButtons.OK, MessageBoxIcon.Error);
        }

        private void button5_Click(object sender, EventArgs e)
        {
            MessageBox.Show("MessageBox", "\0", MessageBoxButtons.OK);
        }

        private void button6_Click(object sender, EventArgs e)
        {
            MessageBox.Show("MessageBox", "\0", MessageBoxButtons.OK);
        }

        private void button7_Click(object sender, EventArgs e)
        {
            MessageBox.Show("MessageBox", "\0", MessageBoxButtons.OKCancel);
        }

        private void button8_Click(object sender, EventArgs e)
        {
            MessageBox.Show("MessageBox", "\0", MessageBoxButtons.YesNoCancel);
        }

        private void button9_Click(object sender, EventArgs e)
        {
            MessageBox.Show("MessageBox", "\0", MessageBoxButtons.YesNo);
        }

    }
}
